<template>
    <TopNavBar title="订单"  type="back"/>
  <div class="aiquant-order-page">
    <div class="order-tabs">
      <div :class="['tab', {active: tab === 'ongoing'}]" @click="tab = 'ongoing'">进行中</div>
      <div :class="['tab', {active: tab === 'ended'}]" @click="tab = 'ended'">已结束</div>
      <div :class="['tab', {active: tab === 'redeemed'}]" @click="tab = 'redeemed'">已赎回</div>
    </div>
    <div class="order-empty">
      <img class="empty-icon" src="/static/img/W2k_c7838bd9_spH.cd0c5744.png" alt="暂无纪录" />
      <div class="empty-text">暂无纪录</div>
    </div>
  </div>
</template>

<script setup>
import { ref } from 'vue'
const tab = ref('ongoing')
</script>

<style scoped>
.aiquant-order-page {
  background: #f7f8fa;
  min-height: 100vh;
  padding: 0;
}
.order-tabs {
  display: flex;
  justify-content: flex-start;
  background: #fff;
  border-radius: 16px;
  margin: 16px 12px 0 12px;
  overflow: hidden;
  padding: 4px;
}
.tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 16px;
  color: #222;
  cursor: pointer;
  font-weight: 600;
  border-radius: 12px;
  background: transparent;
  transition: color 0.2s, background 0.2s;
}
.tab.active {
  color: #fff;
  background: #000;
}
.order-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}
.empty-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
}
.empty-text {
  color: #888;
  font-size: 18px;
  font-weight: 600;
}
</style> 